﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UcProduct.ascx.cs" Inherits="TheHeGeoCommercial.Commercial.UcProduct" %>
<%@ Register assembly="DevExpress.Web.v14.1, Version=14.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v14.1, Version=14.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v14.1, Version=14.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxImageGallery" tagprefix="dx" %>

<%@ Register assembly="DevExpress.Web.v14.1, Version=14.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxDataView" tagprefix="dx" %>

<div style="margin: 5px 5px 5px 5px;width: 98%;height: 100%">
    <dx:ASPxDataView ID="ASPxDataView2" runat="server" SettingsTableLayout-RowsPerPage="2" SettingsTableLayout-ColumnCount="2" Width="100%" PagerAlign="Right" ItemSpacing="10px">
<ItemTemplate>
    <table style="margin: 0 auto;">
        <tr>
            <td colspan="2">
                <asp:ImageButton ID="ImageButton1" runat="server"   PostBackUrl='<%# Eval("DetailUrl") %>' ImageUrl='<%# Eval("ImageUrl") %>' Width="300px" Height="200px" />
            </td>
        </tr>
        <tr>
            <td><b>Loại thiết bị:</b></td>
            <td><dx:ASPxLabel ID="lblType" runat="server" Text='<%# Eval("TenLoaiSanPham") %>' /></td>
        </tr>

        <tr>
            <td><b>Tên thiết bị:</b></td>
            <td><dx:ASPxLabel ID="lblName" runat="server" Text='<%# Eval("TenSanPham") %>' /></td>
        </tr>
        <tr>
            <td><b>Giới thiệu:</b></td>
            <td><dx:ASPxLabel ID="lblDetail" runat="server" Text='<%# Eval("ChuThich") %>' Width="210" Height="50" Wrap="True" /></td>
            
        </tr>
            <tr>
            <td><b>Giá:</b></td><td><dx:ASPxLabel ID="lblPrice" runat="server" Text='<%# Eval("Gia") %>' /></td>
        </tr>
    </table>
</ItemTemplate>
<SettingsTableLayout ColumnCount="2" RowsPerPage="2"></SettingsTableLayout>

<PagerSettings ShowNumericButtons="true">
    <AllButton Visible="False" />
    <Summary Visible="false" />
    <PageSizeItemSettings ShowAllItem="true" />
</PagerSettings>
        <Border BorderStyle="None" />
</dx:ASPxDataView></div>






